package com.example.demo.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.pojo.Employee;
import com.example.demo.vo.ResultVO;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sssl
 * @since 2022-03-18
 */
public interface IEmployeeService extends IService<Employee> {

    ResultVO selectSalePersonPage(Page<Employee> page,String name,String phone);

    Employee getUserByUserName(String username);

    boolean delEmployeeById(Integer employeeId);

    boolean addEmployee(Employee employee);

    boolean delEmployeeByIds(Integer[] ids);
}
